Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Remove the auto set of the '--keyboard-selected' class from the disabled dates while switching to the next or the previous view #26

Merged

Conversation

balajis-qb
Copy link
Collaborator

Closes Hacker0x01#4933

Problem
As I mentioned in the issue, when the auto-selected date (which is the currently selected) is part of a disabled date in the next or previous month/year view, while switching still it'll set highlight the disabled dates. In this PR I removed the auto-setting of the class '--keyboard-selected' while switching to the previous/next view if the corresponding date is disabled.

Contribution checklist

  • I have followed the contributing guidelines.
  • I have added sufficient test coverage for my changes.
  • I have formatted my code with Prettier and checked for linting issues with ESLint for code readability.

…abled dates from the next or the previous view

Closes Hacker0x01#4933
@balajis-qb balajis-qb force-pushed the issue-4933/fix/default-keyboard-selected-on-next-view branch from f413161 to da382fb Compare July 3, 2024 09:49
@balajis-qb balajis-qb merged commit 17a0a33 into main Jul 18, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disabled date is getting auto-selected when switching to the other view like next month or year
1 participant